<?php

 print "<div id=\"chooser\">
";
print "<form action=\"?\" method=\"POST\">";
print "<input type=\"hidden\" name=\"nestedaction\" value=\"".'list'."\"/>";
 print "
    ";
print $actionform->getDocIdHidden();

 print "
    ";
$selbox = ($actionform->get("kuenstlercats")); print "<select name=\"".'kuenstler'."\" style=\"width:130px\">"; 
 print "
        <option value=\"\">-K&uuml;nstler-</option>
    ";
for ($i = 0; $i < count($selbox); $i++){ print "<option value=\"".$selbox[$i]['id']."\"";if (($env->getParam("kuenstler")) == $selbox[$i]['id']) print " selected=\"selected\"";print ">".$selbox[$i]['name']."</option>\n"; }print "</select>";

 print "
    ";
$selbox = ($actionform->get("artcats")); print "<select name=\"".'art'."\" style=\"width:100px\">"; 
 print "
        <option value=\"\">-Art-</option>
    ";
for ($i = 0; $i < count($selbox); $i++){ print "<option value=\"".$selbox[$i]['id']."\"";if (($env->getParam("art")) == $selbox[$i]['id']) print " selected=\"selected\"";print ">".$selbox[$i]['name']."</option>\n"; }print "</select>";

 print "
    ";
$selbox = ($actionform->get("materialcats")); print "<select name=\"".'material'."\">"; 
 print "
        <option value=\"\">-Material-</option>
    ";
for ($i = 0; $i < count($selbox); $i++){ print "<option value=\"".$selbox[$i]['id']."\"";if (($env->getParam("material")) == $selbox[$i]['id']) print " selected=\"selected\"";print ">".$selbox[$i]['name']."</option>\n"; }print "</select>";

 print "
    ";
$selbox = ($actionform->get("formatcats")); print "<select name=\"".'format'."\">"; 
 print "
        <option value=\"\">-Format-</option>
    ";
for ($i = 0; $i < count($selbox); $i++){ print "<option value=\"".$selbox[$i]['id']."\"";if (($env->getParam("format")) == $selbox[$i]['id']) print " selected=\"selected\"";print ">".$selbox[$i]['name']."</option>\n"; }print "</select>";

 print "
    ";
$selbox = ($actionform->get("preiscats")); print "<select name=\"".'preis'."\">"; 
 print "
        <option value=\"\">-Preis-</option>
    ";
for ($i = 0; $i < count($selbox); $i++){ print "<option value=\"".$selbox[$i]['value']."\"";if (($env->getParam("preis")) == $selbox[$i]['value']) print " selected=\"selected\"";print ">".$selbox[$i]['name']."</option>\n"; }print "</select>";

 print "
    <input type=\"submit\" value=\"Go\"/>
";
print "</form>";

 print "
</div>";

?>